package cn.spring.ly;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.jms.annotation.EnableJms;

/**
 * spring boot 项目的启动类
 * 
 *
 */
@EnableJms //启动消息
@EnableCaching //启动缓存
@SpringBootApplication
@MapperScan("cn.spring.ly.mapper")
public class Application {

	/**
	 * spring boot的启动入口
	 * 
	 * @param args
	 */
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}

}
